<?php
namespace lib\Data;

class JsonFileAccess extends FileAccess
{
   public function encode(Array $array)
   {
       return json_encode($array);
   }

   public function decode($str)
   {
       return json_decode($str, true);
   }
}
